<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	<title>Mubi</title>
	<h:outputStylesheet library="css" name="componentes.css" />
	<h:outputStylesheet library="css" name="externo.css" />
	<h:outputScript library="javascript" name="funcoes.js" />
</h:head>

<h:body>
	<div id="divExterna" align="center">
		<div id="container">
			<div id="logotipo"></div>
			
			<div id="principal" align="center">
				<div id="titulo" align="center">
					<ui:insert name="titulo" />
				</div>
					
				<div id="conteudo" align="center">
					<ui:insert name="conteudo" />
				</div>
				
				<div id="rodape">
					<ui:include src="/templates/rodape.xhtml" />
				</div>
			</div>
		</div>
	</div>
	
	<script>		
		function desabilitaMenu(e) {
			if (window.Event) {
				if (e.which == 2 || e.which == 3) {
					return false;
				}
			} else {
				event.cancelBubble = true
				event.returnValue = false;
				return false;
			}
		}

		function desabilitaBotaoDireito(e) {
			if (window.Event) {
				if (e.which == 2 || e.which == 3) {
					return false;
				}
			} else {
				if (event.button == 2 || event.button == 3) {
					event.cancelBubble = true
					event.returnValue = false;
					return false;
				}
			}
		}

		if (window.Event) {
		  document.captureEvents(Event.MOUSEUP);
		}
		if (document.layers) {
		  document.captureEvents(Event.MOUSEDOWN);
		}

		document.oncontextmenu = desabilitaMenu;
		document.onmousedown = desabilitaBotaoDireito;
		document.onmouseup = desabilitaBotaoDireito; 
	</script>
	
</h:body>

</html>